package com.nebula.salary.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色数据传输类
 *
 * @author codex
 * @since 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RoleDto对象", description="角色数据传输类")
public class RoleDto implements Serializable{
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "权限ID")
    private Integer roleId;

    @ApiModelProperty(value = "权限名称")
    private String roleName;

    @ApiModelProperty(value = "权限描述")
    private String instruction;
    
    @ApiModelProperty(value = "SpringSecurity对应的权限")
    private String roleSecurity;

    @ApiModelProperty(value = "权限级别 0-超级管理员 1-管理员 2-普通用户")
    private Integer roleLevel;
    
    @ApiModelProperty(value = "菜单ID数组")
    private Integer[] navIds;
}
